﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Developex.DatabaseWrapper.Attributes
{
	///<summary>
	///</summary>
	[AttributeUsage(AttributeTargets.Field)]
	public class PropertyNameAttribute : Attribute
	{
		private readonly string propertyName;

		/// <summary>
		/// 
		/// </summary>
		/// <param name="propertyName"></param>
		public PropertyNameAttribute(string propertyName)
		{
			this.propertyName = propertyName;
		}

		/// <summary>
		/// 
		/// </summary>
		public string PropertyName
		{
			get { return propertyName; }
		}
	}
}
